package com.his.diagnose.vo;

import lombok.Data;

import javax.persistence.criteria.CriteriaBuilder;
import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author xiaoxiaoping
 * @Date 2020/3/26 16:55
 * @Version 1.0
 */
@Data
public class DiagnosisVo {
    /**
     *
     * 诊断编码
     *
     * @mbggenerated
     */
    @NotEmpty(message="诊断编码不为空")
    private String icd;
    /**
     *
     * 诊断名称
     *
     * @mbggenerated
     */
    @NotEmpty(message="诊断名称不为空")
    private String icdname;
    /**
     *
     * 诊断类型id
     *
     * @mbggenerated
     */
    @NotEmpty(message = "诊断类型id不能为空")
    private String typeid;
    /**
     *
     * 序号
     *
     * @mbggenerated
     */
    @NotNull(message = "序号不能为空")
    private Integer ordno;
    /**
     *
     * 诊断类型
     *
     * @mbggenerated
     */
    private Integer icdtype;

    /**
     *
     * 诊断依据
     *
     * @mbggenerated
     */
    private String basis;

    /**
     *
     * 是否为单病种 1是 0否
     *
     * @mbggenerated
     */
    @NotNull(message = "单病种不能为空")
    private Integer isDrgs;
}
